<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="http://richfaces.org/a4j" 
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	
	<h1>Dear superuser,</h1>
	<p>In this panel you are able to operate on real money! Keep that in mind while processing any transacions. It's also your company and you are responsible 
	for it's balance as much as I am writing this paragraph. In the first tab you are able to accept user request for money voucher. 
	Second tab allows you to generate some extra money vouchers, for example for some kind of competition or lottery. 
	The purpose of the third tab is to view vouchers generated using secong tab.
	<br /> <br />That's all.	
	<br /> <br />Beware...
	</p>
	
	
	<a4j:region>	
		<rich:tabPanel headerAlignment="right" switchType="client">
        <rich:tab label="View currrent voucher requests">
			<a4j:region>
				<ui:include src="adminViewCurrentRequests.xhtml" />
			</a4j:region>
        </rich:tab>
        <rich:tab label="Generate vouchers">
			<a4j:region>
				<ui:include src="adminGenerateRequests.xhtml" />
			</a4j:region>
        </rich:tab>
        <rich:tab label="View available vouchers">
			<a4j:region>
				<ui:include src="adminAvailableVouchers.xhtml" />
			</a4j:region>
        </rich:tab>
    </rich:tabPanel>
		
		
		
		
	</a4j:region>
</ui:composition>